SET SOUND VOLUME

This command will set the percentage volume used by the specified Sound Number.

  Syntax
SET SOUND VOLUME Sound Number,Volume Number
  Parameters
Sound Number
Integer
The Sound Number
Volume Number
Integer
The command will set the percentage volume used by the specified Sound Number

  Returns

This command does not return a value.

  Description

The volume value should use an integer value.

  Example Code
cls
load sound "man.wav",1
play sound 1
set sound volume 1,50
wait 1000*8
set sound volume 1,25
wait 1000*8
stop sound 1
do
loop
end
  See also

SOUND Commands Menu
Index